package com.QSystem.mapper;

import com.QSystem.pojo.Answer;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AnswerMapper {
    void add(Answer answer);

    //根据surId获取所有答卷（answer）
    List<Answer> getBySurId(Integer surId);

    List<Answer> getAllAnswer();
}
